@use './shared' as *;
@use './design' as *;

.#{$namespace}-ellipsis {
  @include basis;
  @include inherit-color;

  display: inline-block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  &__tip {
    padding: 8px 14px 10px;
  }

  &--multiple {
    /* stylelint-disable-next-line value-no-vendor-prefix */
    display: -webkit-inline-box;
    width: 100%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: inherit;
  }
}
